﻿@model Barry.BarbeSystem.Models.Employee
@{

}

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>修改员工信息</legend>
        @Html.HiddenFor(m => m.Id)
        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Remarks)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.Remarks)
            @Html.ValidationMessageFor(model => model.Remarks)
        </div>
        <p>
            <input type="submit" value="确定" />
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("返回", "Index")
</div>
